home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 April: Mac OS SDK / Dev.CD Apr 99 SDK1.toast / Development Kits / Mac OS USB DDK / Examples / USBKeypad / USBKeypad Readme next >
Encoding:
Text File  |  1999-02-10  |  1.9 KB  |  40 lines  |  [TEXT/ttxt]

  1. USBKeypad Class Driver Sample
  2. Version: 1.0b1
  3.  
  4. A USB Class Driver sample demonstrating the implementation of a USB Class Driver for a HID Class device - specifically the MacAlly TenKey keypad device.
  5.  
  6. Description
  7.  
  8.  
  9.  
  10. This code demonstrates how to support a HID device via the driverInitialize entry point. It also demonstrates the use of the USBFindNextInterface and the USBOpenDevice calls for device configuration and setup.
  11.  
  12. Building the Code
  13.  
  14. This sample was built using the Metrowerks CodeWarrior Pro 2, IDE v2.1 environment and the Mac OS USB DDK v1.0.1.  Also required, is the Universal Interfaces and Libraries 3.1.
  15.  
  16. To rebuild the project, first place the USBKeypad folder into the USBDDK:Examples: folder. The project file assumes  specific access paths that are project specific. The resulting class driver, USBHIDMacAllyTenKey, is built into the USBDDK:Extensions-MCWBuilt: folder.
  17.  
  18. You can also build this sample using MPW which has already been configured for the USB DDK. The USBKeypad sample will appear as another sample in the USBDDK menu.
  19.  
  20. Using the Code
  21.  
  22. Place the class driver, USBHIDMacAllyTenKey, into the Extension folder, then plug in the Mac Ally TenKey device.
  23.  
  24. Bug Reports:
  25.  
  26. If you find any bugs, please send them to "usb@isg.apple.com" and include "Attn: Rich Kubota" and I will try to address them.
  27.  
  28. Questions??:
  29.  
  30. For any questions which you may have with this sample or with Mac OS USB, please submit them to either the Mac OS USB mailing list, usb@apple.com, or to Worldwide Macintosh Developer Technical Support (WWDTS), dts@apple.com. If you are not familiar with the recent changes to the WWDTS support plans, please check them out at the Developer Programs web page, 
  31.  
  32. <http://developer.apple.com/programs/>
  33.  
  34. To subscribe to the Mac OS USB Developer mailing list, send an email to usb@isg.apple.com with the email subject set to "subscribe".
  35.  
  36. Rich Kubota
  37. Apple Macintosh Developer Technical Support
  38. rkubota@apple.com
  39. 9/16/98
  40.